package com.zjw.utils;

/**
 * @projectName: zhuanZhuan
 * @package: com.zjw.utils
 * @className: Constants
 * @author: 翟
 * @date: 2025/4/9 12:00
 */

public interface Constants {

    /**
     * 默认每页展示条数
     */
    int DEFAULT_PAGE_SIZE = 5;

    /**
     * 起始页码
     */
    int START_PAGE_NUM = 1;

    /**
     * 好物在售
     */
    int GOODS_STATUS_ON_SALE = 1;

    /**
     * 好物已售空
     */
    int GOODS_STATUS_SOLD_OUT = 0;

    /**
     * 登录类型:普通用户
     */
    String LOGIN_TYPE_USERNAME = "username";

    /**
     * 登录类型：管理员
     */
    String LOGIN_TYPE_ADMIN = "admin";

    /**
     * 添加余额
     */
    char ADDITION_BALANCE = '+';

    /**
     * 减少余额
     */
    char REDUCE_BALANCE = '-';

}
